<div id="one-click" class="global-popup">
    <div class="global-popup__description">
        <div class="global-popup__description__inner">
            <span class="global-popup__close">
                <span>Закрыть</span>
            </span>
            <h2 class="global-small-title">Обратный звонок</h2>
            <?php
            $form = $this->beginWidget('CActiveForm', array(
                'id' => 'one_click-form',
//                'action' => '/main/login',
                'enableClientValidation' => true,
                'clientOptions' => array(
                    'validateOnSubmit' => true,
                ),
            ));
            ?>
            <div style="display: none">
                <?php echo $form->error($model, 'phone'); ?>
            </div>
            <fieldset>
                <label for="phone">Телефон</label>
                <div class="type-text">
                    <?php echo $form->textField($model, 'phone', array('class' => 'masked-phone')); ?>
                </div>
            </fieldset>
            <fieldset>
                <input class="type-submit-bt" type="submit" value="Купить" />
            </fieldset>
            <?php $this->endWidget(); ?>
        </div>
    </div>
    <div class="global-popup__popup-overlay">&nbsp;</div>
</div>